package com.itkjb.leisurely.resource.sys.model.dto;

import com.itkjb.leisurely.core.base.BaseModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * Copyright (C), 2018-2020
 *
 * @Author: lix
 * @Date: 2020-08-07 15:56
 * @Description: 组织用户 数据传输层
 * @Version: V1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SysUserDepDTO extends BaseModel {
    /**
     * 用户所在组织id
     */
    @ApiModelProperty(value = "用户所在组织id")
    private String depId;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private String userId;
    /**
     * 用户绑定的多个组织id
     */
    @ApiModelProperty(value = "用户绑定的多个组织id")
    private List<String> depIds;

    /**
     * 根据用户名搜索用户
     */
    @ApiModelProperty(value = "根据用户名搜索相关用户")
    private String username;
    /**
     * 根据手机号收拾用户
     */
    @ApiModelProperty(value = "根据手机号搜索相关用户")
    private String mobile;

    /**
     * 根据姓名/昵称搜索相关用户
     */
    @ApiModelProperty(value = "根据手机号搜索相关用户")
    private String nickname;
}
